package com.inforich.projectManage.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.inforich.projectManage.domain.ProjectRubbishDetail;
import com.inforich.projectManage.domain.StageRubbishDetail;

/**
 * 项目垃圾明细Mapper接口
 *
 * @author hjm
 * @date 2022-10-30
 */
@Mapper
public interface ProjectRubbishDetailMapper extends BaseMapper<ProjectRubbishDetail> {

  /**
   * 分页列表
   */
  Page<ProjectRubbishDetail> pageProjectRubbishDetail(Page<ProjectRubbishDetail> page,
      @Param("map") Map<String, Object> map);

  /**
   * 列表
   */
  List<ProjectRubbishDetail> listProjectRubbishDetail(@Param("map") Map<String, Object> map);

  List<ProjectRubbishDetail> listProjectRubbishDetailByProjectId(String projectId);

  List<StageRubbishDetail> listStageRubbishDetail(@Param("projectId") String projectId, @Param("stage") String stage);
}
